/* ==============================================================
   PEDEX FLEET - NewsArticles / listing + view
   Standalone scoped CSS. Append to the END of the fleet template.css
   Palette: navy #1C2B59 | teal #109979
   ============================================================== */

/* LISTING: each item sits inside the NewsArticles/Bootstrap row */
.pdx-fleet-list-col {
  margin-bottom: 28px;
  min-width: 0;
}
.pdx-fleet-list-col,
.pdx-fleet-list-col * {
  box-sizing: border-box;
}
.pdx-fleet-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 10px;
  box-shadow: 0 5px 22px rgba(28, 43, 89, 0.055);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.pdx-fleet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(28, 43, 89, 0.12);
  border-color: #d4e5e3;
}
.pdx-fleet-card__link,
.pdx-fleet-card__link:hover,
.pdx-fleet-card__link:focus {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit;
}
.pdx-fleet-card__link:focus-visible {
  outline: 3px solid #109979;
  outline-offset: -3px;
}
.pdx-fleet-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.52 / 1;
  overflow: hidden;
  background: #edf1f6;
}
.pdx-fleet-card__media > img,
.pdx-fleet-card__media > a > img,
.pdx-fleet-card__media picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.pdx-fleet-card:hover .pdx-fleet-card__media img {
  transform: scale(1.045);
}
.pdx-fleet-card__category {
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 1;
  background: #1c2b59;
  color: #fff;
  border-radius: 5px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
}
.pdx-fleet-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  padding: 23px 22px 20px;
  text-align: right;
}
.pdx-fleet-card h2.pdx-fleet-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 58px;
  /* margin: 0 0 12px; */
  font-size: 18px;
  line-height: 1.65;
  /* font-weight: 800; */
  color: #1c2b59;
  text-align: right;
}
.pdx-fleet-card__summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 78px;
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 2;
  color: #647287;
  text-align: right;
  display: none;
}
.pdx-fleet-card__summary p {
  margin: 0;
}
.pdx-fleet-card__more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  /* padding-top: 15px; */
  /* border-top: 1px solid #e8edf2; */
  font-size: 13px;
  font-weight: 600;
  color: #1c2b59;
}
.pdx-fleet-card__more > span {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s ease;
}
.pdx-fleet-card:hover .pdx-fleet-card__more > span {
  transform: translateX(-4px);
}

/* VIEW: image on top, information below, matching listing card language */
.ArticleView.pdx-fleet-detail {
  --pdx-navy: #1c2b59;
  --pdx-teal: #109979;
  --pdx-border: #e6ebf1;
  --pdx-muted: #647287;
  direction: rtl;
  text-align: right;
  color: #27364b;
}
.ArticleView.pdx-fleet-detail,
.ArticleView.pdx-fleet-detail * {
  box-sizing: border-box;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__card,
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__section {
  margin: 0 0 27px;
  background: #fff;
  border: 1px solid var(--pdx-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 22px rgba(28, 43, 89, 0.045);
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__cover {
  margin: 0;
  background: #edf1f6;
  width: 100%;
  max-height: 520px;
  overflow: hidden;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__intro {
  padding: 28px 34px 32px;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  padding: 6px 12px;
  border-radius: 5px;
  background: #edf8f5;
  color: var(--pdx-teal);
  font-size: 12px;
  font-weight: 800;
}
.ArticleView.pdx-fleet-detail h1.pdx-fleet-detail__title {
  display: block;
  margin: 0 0 17px;
  color: var(--pdx-navy);
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.85;
  text-align: right;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__lead {
  font-size: 15px;
  line-height: 2.3;
  color: #52657a;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__lead p {
  margin: 0 0 8px;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__section {
  padding: 28px 34px 32px;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__section-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 23px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pdx-border);
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__section-mark {
  display: block;
  width: 4px;
  height: 25px;
  flex: 0 0 4px;
  background: var(--pdx-teal);
  border-radius: 5px;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__section-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.7;
  color: var(--pdx-navy);
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__text {
  font-size: 15px;
  line-height: 2.65;
  color: #47586b;
  overflow-wrap: anywhere;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__text p {
  margin: 0 0 16px;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__text img {
  max-width: 100%;
  height: auto;
  border-radius: 7px;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__text table {
  max-width: 100%;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__gallery {
  display: flow-root;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__gallery img {
  max-width: 100%;
  height: auto;
  border-radius: 7px;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__gallery .ImagesItem {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__gallery .ImagesItem li {
  float: none;
  margin: 0;
  list-style: none;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__gallery .ImagesItem img {
  width: 190px;
  max-width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  padding: 0;
  border: 0;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__footer {
  margin: 22px 0 36px;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 7px;
  background: #ffffff;
  color: var(--pdx-navy);
  border: 1px solid var(--pdx-navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__footer a:hover {
  background: var(--pdx-navy);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .pdx-fleet-list-col {
    margin-bottom: 18px;
  }
  .pdx-fleet-card__body {
    padding: 20px 18px;
  }
  .pdx-fleet-card h2.pdx-fleet-card__title {
    font-size: 17px;
    min-height: 0;
  }
  .pdx-fleet-card__summary {
    min-height: 0;
  }
  .ArticleView.pdx-fleet-detail .pdx-fleet-detail__intro,
  .ArticleView.pdx-fleet-detail .pdx-fleet-detail__section {
    padding: 22px 19px;
  }
  .ArticleView.pdx-fleet-detail .pdx-fleet-detail__cover img {
    max-height: 350px;
  }
  .ArticleView.pdx-fleet-detail h1.pdx-fleet-detail__title {
    font-size: 23px;
  }
  .ArticleView.pdx-fleet-detail .pdx-fleet-detail__section-heading h2 {
    font-size: 18px;
  }
  .ArticleView.pdx-fleet-detail .pdx-fleet-detail__text {
    font-size: 14px;
    line-height: 2.5;
  }
  .ArticleView.pdx-fleet-detail .pdx-fleet-detail__gallery .ImagesItem li {
    width: calc(50% - 7px);
  }
  .ArticleView.pdx-fleet-detail .pdx-fleet-detail__gallery .ImagesItem img {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pdx-fleet-card,
  .pdx-fleet-card__media img,
  .pdx-fleet-card__more > span {
    transition: none;
  }
}

/* Fleet specification rows: only populated fields are rendered by NewsArticles */
.pdx-fleet-card__specs {
  display: flex;
  gap: 7px;
  margin: 0 0 15px;
  flex-direction: column;
}
.pdx-fleet-card__spec {
  display: flex;
  flex-direction: row;
  gap: 2px;
  padding: 9px 11px;
  /* border-radius: 6px; */
  /* background: #f3f8f7; */
  width: 100%;
  border-bottom: 1px dashed #d7d7d7;
  min-width: 0;
  justify-content: space-between;
}
.pdx-fleet-card__spec strong {
  font-size: 11px;
  color: #9b9d9d;
  font-weight: 500;
}
.pdx-fleet-card__spec span {
  font-size: 12px;
  color: #0b1621;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__spec {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  background: #f3f8f7;
  border: 1px solid #e4eeed;
  border-radius: 8px;
  min-width: 0;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__spec span {
  font-size: 12px;
  color: #109979;
  font-weight: 800;
}
.ArticleView.pdx-fleet-detail .pdx-fleet-detail__spec strong {
  font-size: 15px;
  color: #1c2b59;
  line-height: 1.9;
  font-weight: 700;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .ArticleView.pdx-fleet-detail .pdx-fleet-detail__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .pdx-fleet-card__specs,
  .ArticleView.pdx-fleet-detail .pdx-fleet-detail__specs {
    grid-template-columns: 1fr;
  }
}

.pdx-fleet-card__title-holder {
    display: flex;
    align-content: center;
    justify-content: space-between;
}

.pdx-fleet-card__spec-status span {
    margin-left: 13px;
    color: #08795e;
    padding: 2px 10px;
    background: #e4fff8;
    font-weight: 400;
    font-size: 15px;
    border-radius: 7px;
}
